<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>成功</h1>

<br>
<div th:text="${hello}"></div>
<div th:utext="${hello}"></div>
<br>

<!-- th:each每次遍历都会生成当前这个标签： 3个h4 -->
<h4 th:text="${user}" th:each="user:${users}"></h4>
<br>

<h4>
    <!--会生成4个span-->
    <span th:each="user:${users}"> [[${user}]] </span><br>
</h4>

</body>
</html>